package com.zxh.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by zhangxh on 2016/7/11.
 */
public class ThreadPool {
    private static ExecutorService executor= Executors.newFixedThreadPool(100);
    public static void execute(Runnable runnable){
        executor.execute(runnable);
    }
    public static void shutdown(){
        executor.shutdown();
    }
}
